package com.yungu.swift.system.sys.dao;


import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.system.sys.model.dto.SysCompanyDto;
import com.yungu.swift.system.sys.model.vo.CompanyVo;

import java.util.List;
import java.util.Map;

/**
 * SysCompanyMapper数据库操作接口类
 **/

public interface SysCompanyMapper extends IMapper<SysCompanyDto> {

    /**
     * queryPageAdmin
     *
     * @param params     Map
     * @param pageBounds PageBounds
     * @return PageList<CompanyVo>
     */
    PageList<CompanyVo> queryPageVo(Map<String, Object> params, PageBounds pageBounds);

    /**
     * selInfoAdmin
     *
     * @param params Map
     * @return CompanyVo
     */
    CompanyVo selInfoAdmin(Map<String, Object> params);

    /**
     * findCompanyByBusinessType
     *
     * @param map Map
     * @return List<SysCompanyDto>
     */
    List<SysCompanyDto> findCompanyByBusinessType(Map<String, Object> map);

}